package com.info.zhiduoduo.core.dto.transferpay;

import javax.validation.constraints.NotEmpty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class TransferQueryAgentPayFormBean {

	/** 4:传化武圣 5:传化信圣 */
	private int paymentMerchant;
	/**  平台交易编号 */
	@NotEmpty
	private String tradeNo;

	public static TransferQueryAgentPayFormBean of(Integer paymentMerchant, String tradeNo) {
		return new TransferQueryAgentPayFormBean(paymentMerchant, tradeNo);
	}
}
